package com.example.pufang.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@TableName(value = "pf_feedback")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户反馈表")
@Accessors(chain = true)
public class Feedback {

    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "反馈id")
    private String id;

    @ApiModelProperty(value = "反馈人id")
    private Integer userId;

    @ApiModelProperty(value = "反馈标题")
    private String title;

    @ApiModelProperty(value = "反馈内容")
    private String content;

    @ApiModelProperty(value = "反馈图片")
    private String img;

    @ApiModelProperty(value = "回复内容")
    private String reply;

    @ApiModelProperty(value = "反馈时间")
    private Date createTime;

}